package com.zaimokuza.cn.entity.auth;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.ArrayList;

/**
 * @author zaimokuza
 */
@ApiModel("角色资源关联信息")
@Data
public class RoleResourcesRelation {

    @ApiModelProperty("角色ID")
    @NotBlank(message = "请选择角色！")
    private String roleId;
    @ApiModelProperty("资源ID集合")
    private ArrayList<Long> resourcesIdList;

}
